<template>
  <div class="goods flex wrap f-a">
      <goodsListItem v-for="n in goods" :key='n' :goodsItem="n">
      </goodsListItem>
    
  </div>
</template>

<script>
import goodsListItem from './goodsListItem.vue'
export default {
    name:'goodsList',
    components:{
        goodsListItem
    },
    props:['goods']
}
</script>

<style scoped>
    .goods{
        background-color: #eee;
    }
    
</style>